package com.lanyan.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.lanyan.common.annotation.RequiredField;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lanyan.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanyan.common.core.domain.BaseEntity;

/**
 * 评价Vo对象 evaluate
 *
 * @author lanyan
 * @date 2024-11-26
 */
@Data
public class EvaluateVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "evaluate_id", type = IdType.AUTO)
    @RequiredField(update = true,delete = true)
    private Long evaluateId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 所属用户 */
    @Excel(name = "所属用户")
    @ApiModelProperty("所属用户")
    private Long accountId;

    /** 所属订单 */
    @Excel(name = "所属订单")
    @ApiModelProperty("所属订单")
    private Long ordersId;

    /** 所属配送员 */
    @Excel(name = "所属配送员")
    @ApiModelProperty("所属配送员")
    private Long courierId;

    /** 所属商品 */
    @Excel(name = "所属商品")
    @ApiModelProperty("所属商品")
    private Long productId;

    /** 速度评分 */
    @Excel(name = "速度评分")
    @ApiModelProperty("速度评分")
    private String speed;

    /** 服务评分/商品评价 */
    @Excel(name = "服务评分/商品评价")
    @ApiModelProperty("服务评分/商品评价")
    private String manner;

    /** 配送评分/描述相符 */
    @Excel(name = "配送评分/描述相符")
    @ApiModelProperty("配送评分/描述相符")
    private String distribution;

    /** 评价内容 */
    @Excel(name = "评价内容")
    @ApiModelProperty("评价内容")
    private String content;

    /** 图片 */
    @Excel(name = "图片")
    @ApiModelProperty("图片")
    private String image;

    @TableField(exist = false)
    private AccountVo account;
}
